package com.ktjy.mapper;

import com.ktjy.pojo.StorageRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StorageRecordMapper {
    public List<StorageRecord> selectSrByNameById(@Param("goodsName")String goodsName, @Param("supplierId")Integer supplierId ,@Param("payStatus")Integer payStatus,@Param("pageBegin")Integer pageNo,@Param("pageSize")Integer pageSize);

    public int insertSr(StorageRecord record);

    public List<StorageRecord> detailSr(@Param("id")Integer id);
    public int updateSr(StorageRecord record);

    public Integer deleteSrById(@Param("id")Integer id);
}
